home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Aug-Sep 88 / Detect TextListView Selections < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.3 KB  |  38 lines  |  [TEXT/GEOL]

  1. Item    9237485                         30-Aug-88        19:26
  2.  
  3. From:   X0118                           Bell Northern Research,Comm.Sys.Dev
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    Detect Textlistview Selctions
  8.  
  9. To whom may be informed,
  10.     I am working in the new MacApp 2.0.  I have a dialog that has a list that
  11. is a subclass of TTextlistView.  In order to catch user selections in the list,
  12. I overrode the "DoChoice" method of the view in which the list resides, a
  13. subclass of TDialogView, branching on the constants defined in UMacApp.p of the
  14.  form mSomethingHit (such as mButtonHit or mEditTextHit etc.).  My DoChoice
  15. routine catches clicks on buttons or in EditText fields but not at all on
  16. either list items OR the list's scroll bars.  Both the items (which can be
  17. selected & highlighted by clicking) and the scroll bars appear to be behaving
  18. normally, but the mmListItemHit branch of TMyDialogView.DoChoice is not
  19. catching these mouse clicks.  Does anyone out there know why?, I'd love to
  20. know. Is it perhaps possible that there is a DoChoice for TTextListView which I
  21. should override?
  22.  
  23. Sincerely,
  24. Chris Hart
  25. Member o' Scientific Staff
  26. Bell Northern Research
  27. 685 A E. Middlefield Rd.
  28. Mountain View, Ca. 94039
  29. (415) 940-2263
  30. Link: x0118
  31.  
  32. Any phone calls made on Wed., 8/31 should go to (415) 922-9840  -Thanks
  33.  
  34.  
  35.  
  36.  
  37.  
  38.